<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>计划管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <jsp:include page="/static/common/common_header.jsp"/>
    <style>
        tr {
            color: #3c3c3c;
            font-family: Arial,"Microsoft YaHei","微软雅黑";
            font-size: 12px;
            font-style: normal;
        }
    </style>
    <script type="text/javascript" src="/static/js/schedule.js"></script>
</head>
<body>
<table id="sche_datagrid"></table>
<div id="sche_toolbar">
    姓名查询 <input class="easyui-searchbox" data-options="searcher:search,prompt:'姓名'" name="keyword"> &nbsp &nbsp &nbsp
    部门查询 <input class="easyui-combobox" data-options="url:'/department/list',valueField:'id',textField:'name',panelHeight:'auto'" name="deptId"> &nbsp &nbsp &nbsp
    日期查询 <input class="easyui-datebox" name="beginDate"/> ~ <input type="text" class="easyui-datebox" name="endDate"/>
    <a class="easyui-linkbutton" iconCls="icon-chaxun" plain="true" data-cmd="searchForSche">查询</a><br><br>
    <a class="easyui-linkbutton" iconCls="icon-xinzeng" plain="true" data-cmd="add">新建任务</a>
    <a class="easyui-linkbutton" iconCls="icon-bianji" plain="true" data-cmd="edit">编辑任务</a>
    <a class="easyui-linkbutton" iconCls="icon-print" plain="true" data-cmd="exportXls">打印任务</a>
    <a id="btn_changeState" class="easyui-linkbutton" iconCls="icon-biaoji" plain="true" data-cmd="changState">标记完成</a>
    <a class="easyui-linkbutton" iconCls="icon-shuaxin" plain="true" data-cmd="reload">刷新任务</a>
</div>

<div id="sche_btns">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
</div>

<div id="sche_dialog">
    <form id="sche_form" method="post">
        <input type="hidden" name="id">
        <table align="center" style="margin-top: 20px" cellspacing="10px" cellpadding="5px">
            <tr>
                <td>姓名</td>
                <td>
                    <input id="sche_name" class="textbox" name="name"/>
                </td>
            </tr>
            <tr>
                <td>编号</td>
                <td>
                    <input id="sche_sn" class="textbox" name="sn"/>
                </td>
            </tr>
            <tr>
                <td>时间</td>
                <td>
                    <input id="sche_plan" class="easyui-datebox" name="plan"/>
                </td>
            </tr>
            <tr>
                <td>地点</td>
                <td>
                    <input id="sche_place" class="textbox" name="place">
                </td>
            </tr>
            <tr>
                <td>内容</td>
                <td>
                    <textarea id="sche_content" style="resize: none"; rows="5px"; cols="33px" name="content"></textarea>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
